import React, { Component } from 'react'
import CountButton from './CountButton'
import Count from './Count'
import {CountProvider} from './CounterContext'

export default class Cart extends Component {
  render() {
    return (
      <CountProvider>
        <CountButton type="decrement"></CountButton>
        <Count></Count>
        <CountButton type="increment"></CountButton>
      </CountProvider>
    )
  }
}
